package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.dao.QuanYBonusRuleDao;
import com.edt.ichannel.api.entiy.local.QuanYBonusRule;
import com.edt.ichannel.api.service.QuanYBonusRuleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class QuanYBonusRuleServiceImpl implements QuanYBonusRuleService {
    @Resource
    private QuanYBonusRuleDao quanYBonusRuleDao;
    @Override
    public QuanYBonusRule getBonusRule(String productId, String cityCode, int firstMoney) {
        return quanYBonusRuleDao.getBonusRule(productId, cityCode, firstMoney);
    }
}
